import {configureStore} from '@reduxjs/toolkit'
import rootReaducer from '@/store/reducers/rootReaducer'
import logger from 'redux-logger'
const store = configureStore({
    reducer:rootReaducer,
    middleware:getDefaultMiddleware =>getDefaultMiddleware({
        thunk:{
            extraArgument:{}
        }
    }).concat(logger)
})
export default store